/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package argtrust.trustnet;

import argtrust.measure.Measure;
import argtrust.basics.ArgTrustObject;

/**
 *
 * @author Yuqing Tang
 */
public class Trust extends ArgTrustObject {

    protected Agent mTruster;
    protected Agent mTrustee;
    protected Measure mMeasure;
//    protected double mLevel;

    public Trust() {
    }

    public Trust(Agent head, Agent tail) {
        mTruster = head;
        mTrustee = tail;
    }

    public Trust(Agent head, Agent tail, Measure measure) {
        mTruster = head;
        mTrustee = tail;
        mMeasure = measure;
    }

    public Agent getHead() {
        return mTruster;
    }

    public Agent getTail() {
        return mTrustee;
    }

    public Measure getMeasure()
    {
        return mMeasure;
    }

    public void setMeasure(Measure measure)
    {
        mMeasure = measure;
    }
//    public double getLevel() {
//        return mLevel;
//    }

//    public void setLevel(double level) {
//        mLevel = level;
//    }
}
